package de.szut.scene.scenes;

import org.andengine.entity.scene.background.Background;
import org.andengine.entity.text.Text;
import org.andengine.util.color.Color;

import de.szut.scene.helper.BaseScene;
import de.szut.scene.helper.SceneType;
import de.szut.util.Settings;

/**
 * Created with IntelliJ IDEA.
 * User: nbothmer
 * Date: 28.08.13
 * Time: 15:01
 * To change this template use File | Settings | File Templates.
 */
public class LoadingScene extends BaseScene {
    @Override
    public void createScene() {
        setBackground(new Background(Color.WHITE));
        attachChild(new Text(Settings.RESOLUTION_WIDTH / 4, Settings.RESOLUTION_HEIGHT / 4, resourcesManager.getMenuSceneFont(), "Loading...", vbom));
    }

    @Override
    public void onBackKeyPressed() {
        return;
    }

    @Override
    public SceneType getSceneType() {
        return SceneType.SCENE_LOADING;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void disposeScene() {
        //To change body of implemented methods use File | Settings | File Templates.
    }
}
